package com.cbdp.common.result;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * com.cbdp.common.result
 *
 * @author 白雨浓
 * date: 2018/10/26 11:57
 * content: 分页返回结果集(外层包裹Result)
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PageResult {

    private int current;

    private int size;

    private long total;

    private List<?> list;

}
